package com.hy.convenient.api.server;

import com.hy.convenient.api.dao.SupplierMapper;
import com.hy.convenient.api.pojo.StoresPojo;
import com.hy.convenient.api.pojo.SupplierPojo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Description TODO
 * @className SupplierServer
 * @Author hdy
 * @Date 2021-1-19 13:52
 * @Version 1.0
 */
@Service
public class SupplierServer implements  ApiServerInterface<SupplierPojo> {
    @Autowired
    private SupplierMapper supplierMapper;
    @Override
    public List<SupplierPojo> queryDownList(Map<String, Object> map) {
        return supplierMapper.queryDownList(map);
    }

    @Override
    public int queryCount(Map<String, Object> t) {
        return supplierMapper.queryCount(t);
    }

    @Override
    public List<SupplierPojo> queryUpdateDownList(Map<String, Object> map) {
        return supplierMapper.queryUpdateDownList(map);
    }
}
